let strings = [];

const StringBuilder = {
	//append方法定义
	append(str) {
		strings.push(str);
		return this;
	},
	toString() {
		return strings.join("");
	}
};

export default StringBuilder;
